<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<link href="/static/video/css/video-js.css" rel="stylesheet">
<!-- If you'd like to support IE8 -->
<script src="/static/video/js/videojs-ie8.min.js"></script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="padding: 3px;">
        <input name="id" type="hidden"  value="${bguserinfo.id}">
             <table class="grid">
                <tr>
                    <td>预览图</td>
                    <td>
                    	<div id="localImag">
                    		<%--预览，默认图片--%>
						    <c:if test="${not empty bguserinfo.preview}">
								<img id="divimg" alt="预览图片"  src="${bguserinfo.preview}" style="width: 150px; height: 170px;"/>   
							</c:if>
							<c:if test="${empty bguserinfo.preview}">
								<img id="divimg" alt="预览图片"  src="/static/style/images/bg_head.png" style="width: 150px; height: 170px;"/>   
							</c:if>
						</div>  
                    	  选择图片:<input id="idFile" name="pic_manPhoto" onchange="javascript:setImagePreview(this,localImag,divimg,'150px','170px');" type="file" />
                    	 <input id="preview" name="preview"  type="hidden" value="${bguserinfo.preview}"/>
                    </td>
                </tr> 
                <tr>
                    <td>名称</td>
                    <td>${bguserinfo.name}</td>
                </tr> 
                <tr>
                    <td>音频</td>
                    <td>
                    	<c:if test="${not empty bguserinfo.audio}">
                    		<audio id="jp_audio_0" controls="controls" preload="metadata" src="${bguserinfo.audio}"></audio>
                    	</c:if>
                    </td>
                </tr> 
                
                <tr>
                    <td>视频</td>
                    <td>
                    	<c:if test="${not empty bguserinfo.video}">
                    		<video style="width:500px"  controls="controls" autoplay="autoplay" preload="none" src="http://pic.888pic.com/00/14/04/70y888piCzbS.mp4"></video>
                    	</c:if>
·                    </td>
                </tr> 
                <tr>
                    <td>标签</td>
                    <td>${bguserinfo.tags}</td>
                </tr>
                 <tr>
                    <td>详情</td>
                    <td>
                    	${bguserinfo.detail}
                    </td>
                </tr> 
            </table>
    </div>
</div>